xen/VT-d: Remove the use of __LINE__ from IOMMU_WAIT_OP()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Jan 2018 14:11:16 +0000 (14:11 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 25 Jan 2018 10:35:20 +0000 (10:35 +0000)
commit2375832c7e51b67f076e6b07854c4a541cb4bdc3
tree86b3127f868a7f0498a9b538a569f5b10df233f7
parent1252e2823117346e1aad0c5f17cc76200194f808
xen/VT-d: Remove the use of __LINE__ from IOMMU_WAIT_OP()

The use of __LINE__ in printk()'s is problematic for livepatching, as it tends
to cause unnecessary binary differences.

Take this opportunity to provide some rather more useful information than just
file/line/func in the form of the full register/stack trace leading to the
problem (which I've needed in the past for debugging).

Also, drop the unnecessary else clause while editing here here.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/dmar.h